package com.AEWMS.Test;

import com.AEWMS.Dao.College;
import com.AEWMS.Service.CollegeService;
import com.alibaba.fastjson.JSON;

public class CollegeTest {
    public static void main(String[] args) {
        CollegeService cs = new CollegeService();
//        System.out.println(JSON.toJSONString(cs.findAllCollege()));
//        System.out.println(JSON.toJSONString(cs.findCollegeById("001")));
        College c = new College();
        c.setCollegeId(3);
        c.setCollegeName("经济学院");
        System.out.println(cs.insertCollege(c));
//        cs.insertCollege(c);

;    }
}
